package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojos.ApCollection;

/**
 * @author Mr.Chen
 */
public interface ApCollectionService extends IService<ApCollection> {

    /**
     * 根据实体id和文章id查询收藏数据
     * @param entryId 实体id
     * @param articleId 文章id
     * @param type 类型
     * @return 返回
     */
     ApCollection findCollectionByEntryIdAndArticleId(Integer entryId, Long articleId, Short type);
}
